package org.spruice;

/**
 * User: mrettig
 * Date: Feb 7, 2009
 * Time: 3:21:10 PM
 */
public class Engine {
    private boolean primed;
    private boolean destroyed;
    private int horsepower;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHorsepower() {
        return horsepower;
    }

    public void setHorsepower(int horsepower) {
        this.horsepower = horsepower;
    }

    public boolean isPrimed() {
        return primed;
    }

    public void primeEngine() {
        primed = true;
    }

    public void destroyEngine() {
        destroyed = true;
    }

    public boolean isDestroyed() {
        return destroyed;
    }
}
